package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.SysDept;
import com.ruoyi.project.system.domain.SysDirTree;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 系统目录树 Mapper 接口
 * </p>
 *
 * @author luaj
 * @since 2019-11-22
 */

public interface SysDirTreeMapper extends BaseMapper<SysDirTree> {

    List<SysDirTree> selectChildrendirTreeById(Long dirTreeId);

    public  int updateDirTreeChildren(@Param("dirTrees") List<SysDirTree> dirTrees);
}
